home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / ColorSync 2.5.1 SDK / Sample Code / CSDemo 2.5 / ShellSources / aeUtils.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-09-09  |  1.2 KB  |  50 lines  |  [TEXT/CWIE]

  1.  
  2. #ifndef _AEUTILS_
  3. #define _AEUTILS_
  4.  
  5.  
  6. #ifndef __TYPES__
  7. #include <Types.h>
  8. #endif
  9.  
  10. #ifndef __MIXEDMODE__
  11. #include <MixedMode.h>
  12. #endif
  13.  
  14. #ifndef __APPLEEVENTS__
  15. #include <AppleEvents.h>
  16. #endif
  17.  
  18. #ifndef __PROCESSES__
  19. #include <Processes.h>
  20. #endif
  21.  
  22. #ifndef __WINDOWS__
  23. #include <Windows.h>
  24. #endif
  25.  
  26.  
  27. /**\
  28. |**| ==============================================================================
  29. |**| PUBLIC GLOBALS
  30. |**| ==============================================================================
  31. \**/
  32. extern    AEAddressDesc        gSelfPSNAddress;    // A self-addressed address descriptor record using GetCurrentProcess()
  33. extern    AEAddressDesc        gSelfAddress;        // A self-addressed address descriptor record using kCurrentProcess
  34. extern    ProcessSerialNumber    gSelfPSN;            // This application's psn
  35. extern    AEDesc                gNullDesc;            // A null descriptor record
  36.  
  37.  
  38.  
  39. /**\
  40. |**| ==============================================================================
  41. |**| PUBLIC FUNCTION PROTOTYPES
  42. |**| ==============================================================================
  43. \**/
  44. OSErr            AE_present                    ( void ) ;
  45. OSErr            AE_available                ( void ) ;
  46. OSErr            AE_initialize                ( void ) ;
  47. OSErr             MyGotRequiredParams            ( AppleEvent *theAppleEvent ) ;
  48.  
  49.  
  50. #endif